<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php jq_add_plugins_by_name(array('sortable', 'autocomplete')) ?>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_javascripts() ?>
        <?php include_stylesheets() ?>
    </head>
    <body class="ui-widget-content">
        <div id="itemDialog" title="Item Purchases"></div>
        <div id="historyDialog" title="History of [date]"></div>
        <div id="ajaxLoader" class="hidden"><?php echo image_tag('ajax-loader.gif');?></div>
        <div id="contentDiv">
            <div id="headerDiv" class="ui-widget-header">
                <h2>Raid Points System</h2>
                <div class="ui-tabs ui-widget ui-my-tabs">
                    <ul class="ui-tabs-nav ui-helper-reset ui-corner-all">
                        <li class="ui-state-default ui-corner-top ui-allow-hover
<?php if ( sfContext::getInstance()->getRouting()->getCurrentInternalUri(false) == "view/index" )
        echo " ui-state-active";
?>
                            "><a href="<?php echo url_for("view/index"); ?>">Points</a></li>
                        <li class="ui-state-default ui-corner-top ui-allow-hover
<?php if ( sfContext::getInstance()->getRouting()->getCurrentInternalUri(false) == "view/raids" )
        echo " ui-state-active";
?>
                            "><a href="<?php echo url_for("view/raids"); ?>">Raids</a></li>
                    </ul>
                </div>
                <div id="switcher"></div>
            </div>
            <div id="primaryDiv" class="ui-widget-content ui-corner-bottom">
                <?php echo $sf_content ?>
            </div>
        </div>
    </body>
</html>
